VitePos_Lite\Models\Database\Mapbd_Pos_Role A

Total Complexity 58
Dependencies 2
Dependents 6
Total lines 524
Lines of code 273
Logical lines of code 140
Comment lines 210
Methods 21
Properties 13

Methods 21

Method Rating Maintainability Complexity Lines of code
set_default_role()
S
50 7 24
set_capabilities_by_role()
S
56 7 17
get_property_raw_options()
S
55 4 22
get_slug_by()
S
56 4 17
save()
S
60 4 14
get_role_list_with_capabilities()
S
60 4 13
is_admin_role()
S
65 4 9
set_validation()
S
48 1 40
create_db_table()
S
56 2 22
add_role()
S
66 3 8
get_property_options_color()
S
62 2 13
add_role_if_not_exists()
S
67 2 7
delete_by_slug()
S
69 2 7
get_role_list()
S
68 2 7
get_agent_roles()
S
66 2 8
update_max_discount_non_editable()
S
65 2 9
set_max_discount()
S
65 2 9
is_role_exists()
S
75 1 4
is_built_in_role()
S
74 1 4
get_role_object_by()
S
65 1 9
__construct()
S
64 1 10